[. . . ] scriptlet
Directives
page
Defines page-wide attributes.
<%@ page attribute="value" . . . [. . . ] </tagPrefix:tagName>
Writing comments for the JSP
A JSP comment is not output to the client as part of the JSP page's output.
<%-- Comment string. . . --%>
jsp:forward
Scripting Elements
declaration
Creates page-wide definitions such as variables.
<%!Execution of the calling page is terminated by the call.
<jsp:forward page="path" /> <jsp:forward page="path"> <jsp:param name="paramName" value="paramValue" /> . . . </jsp:forward>
Outputting comments to the client
HTML comments are output to the client.
<!-- comments -->
Example:
<%!private String foo = null; public String getFoo() {return this. foo;} %>
jsp:plugin
Enables you to invoke an applet on a client browser.
<jsp:plugin type="bean|applet" code="objectCode" codebase="objectCodebase" { align="alignment" } { archive="archiveList" } { height="height" } { hspace="hspace" } { jreversion="jreversion" } { name="componentName" } { vspace="vspace" } { width="width" } { nspluginurl="url" } { iepluginurl="url" } > { <jsp:params> { <jsp:param name=" paramName" value="paramValue" /> }+ </jsp:params> } { <jsp:fallback> arbitrary_text </jsp:fallback> } > </jsp:plugin>
jsp:setProperty
Sets the value of one or more properties in a bean.
<jsp:setProperty name="beanName" prop_expr />
pageContext
The page context for the JSP. Java type: javax. servlet. jsp. PageContext
prop_expr has one of the following forms: property="*" | property="propertyName"| property="propertyName" param="parameterName"| property="propertyName" value="propertyValue"
request
The client request. Java type: javax. servlet. HttpServletRequest
jsp:getProperty
Writes the value of a bean property as a string to the out object.
<jsp:getProperty name="name" property="propertyName" />
response
The response to the client. Java type: javax. servlet. HttpServletResponse
session
The session object created for the requesting client. [. . . ] Part number: AA-JRQRF-RK
typespec is any one of the following:
class="className" | class="className" type="typeName" | beanName="beanName" type=" typeName" | type="typeName"
out
An object that writes into a JSP page's output stream. [. . . ]